
import java.lang.*;
import java.io.*;
import java.util.*;
public class Goods {
    public Goods(String goodsnum,int amount,String goodsname)
    {
        this.goodsnum=goodsnum;
        this.goodsname=goodsname;
        this.amount=0;
    }
    public int getamount(){return amount;}
    public void setamount(int a){amount=a;}
    public String getgoodsname(){return goodsname;}
    public void setgoodsname(String a){goodsname=a;}
    public String getgoodsnum(){return goodsnum;}
    public void setgoodsnum(String a){goodsnum=a;}
    /*public void outputLine(ostream &,Goods &);*/
    private int amount;
    private String goodsname;
    private String goodsnum;
}
